package com.itheima.service;

import com.itheima.pojo.PageResult;
import com.itheima.pojo.Student;
import com.itheima.pojo.StudentQueryParam;
import org.springframework.stereotype.Service;

@Service
public interface StudentService {
    PageResult<Student> findAll(StudentQueryParam param);

    void add(Student student);

    void delete(Integer[] ids);

    void update(Student student);

    Student findById(Integer id);

    void addViolation(Integer id, Short score);
}
